package qldc.pm.tiensu.model.impl;

import com.liferay.portal.kernel.exception.SystemException;

import qldc.pm.tiensu.model.BienBanBanGiaoHoSo;
import qldc.pm.tiensu.service.BienBanBanGiaoHoSoLocalServiceUtil;

/**
 * The extended model base implementation for the BienBanBanGiaoHoSo service. Represents a row in the &quot;TS_BienBanBanGiaoHoSo&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BienBanBanGiaoHoSoImpl}.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see BienBanBanGiaoHoSoImpl
 * @see qldc.pm.tiensu.model.BienBanBanGiaoHoSo
 * @generated
 */
public abstract class BienBanBanGiaoHoSoBaseImpl
    extends BienBanBanGiaoHoSoModelImpl implements BienBanBanGiaoHoSo {
    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this class directly. All methods that expect a bien ban ban giao ho so model instance should use the {@link BienBanBanGiaoHoSo} interface instead.
     */
    @Override
    public void persist() throws SystemException {
        if (this.isNew()) {
            BienBanBanGiaoHoSoLocalServiceUtil.addBienBanBanGiaoHoSo(this);
        } else {
            BienBanBanGiaoHoSoLocalServiceUtil.updateBienBanBanGiaoHoSo(this);
        }
    }
}
